/**
 * Created with hong.rong
 * Date:2020/07/19
 */

import request from '@/utils/request'

/**
 * 查询自提点
 * @param data
 * @returns {Promise<*>}
 */
export async function getCarryList(data = {}) {
  return request.post('/admin/carry/list', data)
}

/**
 * 添加修改自提点
 * @param data
 * @returns {Promise<*>}
 */
export async function carryModify(data = {}) {
  return request.post('/admin/carry/modify', data)
}
